package com.erpanderp.wam.adm.model.entity;

import java.util.Date;

public class RoleServiceGroup {
	private Long roleServiceGroupId;
	private Role role;
	private ServiceGroup serviceGroup;
	private Date createDate;
	private Date dateModified;
	private String createdBy;
	private String modifiedBy;
	private String description;
	private String status;
	
	public Long getRoleServiceGroupId() {
		return roleServiceGroupId;
	}
	public void setRoleServiceGroupId(Long roleServiceGroupId) {
		this.roleServiceGroupId = roleServiceGroupId;
	}
	public Role getRole() {
		return role;
	}
	public void setRole(Role role) {
		this.role = role;
	}
	public ServiceGroup getServiceGroup() {
		return serviceGroup;
	}
	public void setServiceGroup(ServiceGroup serviceGroup) {
		this.serviceGroup = serviceGroup;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public Date getDateModified() {
		return dateModified;
	}
	public void setDateModified(Date dateModified) {
		this.dateModified = dateModified;
	}
	public String getCreatedBy() {
		return createdBy;
	}
	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}
	public String getModifiedBy() {
		return modifiedBy;
	}
	public void setModifiedBy(String modifiedBy) {
		this.modifiedBy = modifiedBy;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	
	public boolean equals(Object obj){
		if(this == obj){
			return true;
		}
		
		if(this.getRoleServiceGroupId().equals(((RoleServiceGroup)obj).getRoleServiceGroupId())){
			return true;
		}
		return false;
	}
	

}
